// index.js
import React from "react";
import ReactDOM from "react-dom";
import "./index.css";
import App from "./App";
import App2 from "./app2";
import Main from "./Main";
import { createRoot } from "react-dom/client"; // 从 "react-dom/client" 中引入 createRoot
import { Navbar, Nav } from "rsuite";

// 仅调用一次 createRoot
const root = createRoot(document.getElementById("root"));

// 渲染 Main 组件
root.render(
  <React.StrictMode>
    <Main />
  </React.StrictMode>
);
